package com.yc.cinema.mapper;
import com.usc.lw.entity.Hall;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface HallMapper {

    List<Hall> selectHall();

    Hall selectById(int id);

    Hall selectByNameAndCinemaId(
            @Param("name") String name,
            @Param("cid")int cinemaId);

    int insert(Hall hall);
    int update(Hall hall);
    int deleteById(int id);
}
